{
    "variables": {
        "collect_msgs_dir": "../../tests/msgs/napi"
    },
    "targets": [
        {
            "target_name": "ohmw_js_example",
            "sources": [
                "<(collect_msgs_dir)/napi_msg_init.cpp",
                "<(collect_msgs_dir)/napi_node_init.cpp",
                "<(collect_msgs_dir)/napi_mw_server_init.cpp",
                "<(collect_msgs_dir)/napi_init.cpp",
            ],
            "include_dirs": [
                "./include",
                "<(collect_msgs_dir)",
                "../..",
                "../../build/generated"
            ],
            "libraries": [
                "/home/litao/Downloads/ohmw/build/interfaces/c++/libohmw_interfaces_c++_shared.so",
                "/home/litao/Downloads/ohmw/target/debug/libohmw_interfaces.so"
            ],
            "dependencies": [
            ],
            "cflags": [
                "-std=c++17", "-Wno-conversion-null", "-Wno-unused-variable", "-g"
            ],
            "cflags_cc": [
                "-std=c++17", "-Wno-conversion-null", "-Wno-unused-variable", "-g"
            ],
            "cflags!": ["-fno-exceptions"],
            "cflags_cc!": ["-fno-exceptions"],
            "ldflags": [
                "-Wl,-rpath=/home/litao/Downloads/ohmw/build/interfaces/c++:/home/litao/Downloads/ohmw/target/debug"
            ],
            "defines": [
                "NAPI_DISABLE_CPP_EXCEPTIONS"
            ],
            "conditions": [
                ["OS=='linux'", {
                    "cflags": [
                        "-fPIC"
                    ],
                    "cflags_cc": [
                        "-fPIC"
                    ]
                }]
            ]
        }
    ]
}